﻿using System;
using UnityEngine;

namespace Nomo.UnityAnimationModule.TweenAnimation
{
    /// <summary>
    /// 补间动画器模型。
    /// </summary>
    [Serializable]
    public abstract class TweenAnimatorModel
    {
        public TweenAnimatorRepeatMode repeatMode;
        public bool                    forward = true;
        public bool                    autoPlayOnEnabled;
        public float                   delay;

        public TweenAnimator TweenAnimator { get; set; }
    }

    [Serializable]
    public sealed class TweenPositionModel : TweenAnimatorModel
    {
        public Vector3[] data;
    }
}
